package com.bdqn.jwt1.mapper;

import com.bdqn.jwt1.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductMapper {
    //查找所有商品
    @Select("select * from product")
    public List<Product> findAllProducts();
}
